//
//  PPHttpRequsetData.h
//  dyseller
//
//  Created by 红喇叭 on 2017/8/10.
//  Copyright © 2017年 红喇叭. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PPHttpRequest.h"

@interface PPHttpRequsetData : NSObject

+ (PPHttpRequsetData *)shareInstance;

- (void)requestStyle:(Requset_Style)style
                 URL:(NSString *)url
           parameter:(NSDictionary *)param
          successBlock:(YYCommCompleteBlock)success
          failBlock:(YYCommErrorBlock)failure;

- (void)requestStyle:(Requset_Style)style
                 URL:(NSString *)url
            isactive:(BOOL)active
           parameter:(NSDictionary *)param
        successBlock:(YYCommCompleteBlock)success
           failBlock:(YYCommErrorBlock)failure;

- (void)uploadImages:(Requset_Style)style
                 URL:(NSString *)url
            isactive:(BOOL)active
           imageData:(NSArray *)imageArray
         imgfileName:(NSString *)filename
           parameter:(NSDictionary *)param
        successBlock:(YYCommCompleteBlock)success
           failBlock:(YYCommErrorBlock)failure;

@end
